From 1e5ad0630eb6aa707c6220d9d71b5c34e2da3523 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 18 Jun 2008 03:48:13 +0000 Subject: [PATCH] Fix u nlimited loop reading string on armel. --- gpsbabel/gbfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gbfile.c b/gpsbabel/gbfile.c index 6bb978599..5a412df32 100644 --- a/gpsbabel/gbfile.c +++ b/gpsbabel/gbfile.c @@ -704,7 +704,7 @@ gbfgetcstr(gbfile *file) char *str = file->buff; for (;;) { - char c = gbfgetc(file); + int c = gbfgetc(file); if ((c == 0) || (c == EOF)) break; -- 2.30.2